<template>
  <t-menu class="!w-full">
    <TreeMenuItem :routes="routes"></TreeMenuItem>
  </t-menu>
</template>

<script setup lang="ts">
import TreeMenuItem from '@/components/menu/tree-menu-item.vue';
import { menuRoutes } from '@/router';
import { cloneDeep } from 'es-toolkit';

const routes = computed(() => {
  return cloneDeep(menuRoutes);
});
</script>

<style scoped></style>
